<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>实体表</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <!-- jqgrid-->
    <link href="css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox ">
                    <div class="ibox-title">
                        <h5>实体表</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="jqGrid_wrapper">
                            <table id="table_object"></table>
                            <div id="pager_object"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="modal fade" id="addDlg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">添加数据</h4>
                </div>
                <div class="modal-body">
                    <form name="add" id="form_add" class="form-horizontal" style="">
                        <div>
                            <label for="add_objectId" class="col-sm-2 control-label" style="margin:0 auto;">编号：</label>
                            <input class="form-control" type="text" id="add_objectId" name="objectId" style="width:180px;margin:0 auto;"/><br/>
                            <label for="add_objectName" class="col-sm-2 control-label" style="margin:0 auto;">名称：</label>
                            <input class="form-control" type="text" id="add_objectName" name="objectName" style="width:180px;margin:0 auto;"/><br/>
                            <label for="add_abilities" class="col-sm-2 control-label" style="margin:0 auto;">能力：</label>
                            <input class="form-control" type="text" id="add_abilities" name="abilities" style="width:180px;margin:0 auto;"/><br/>
                            <label for="add_objRelationship" class="col-sm-2 control-label" style="width:auto;margin:0 auto;">实体关系：</label>
                            <input class="form-control" type="text" id="add_objRelationship" name="objRelationship" style="width:180px;margin:0 auto;"/><br/>
                            <label for="add_chara" class="col-sm-2 control-label" style="margin:0 auto;">特点：</label>
                            <input class="form-control" type="text" id="add_chara" name="chara" style="width:180px;margin:0 auto;"/><br/>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button id="add_button" type="button" class="btn btn-primary">确定</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
    <div class="modal fade" id="editDlg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="edit">编辑数据</h4>
                </div>
                <div class="modal-body">
                    <form name="add" id="form_edit" class="form-horizontal" style="">
                        <div>
                            <label for="edit_objectId" class="col-sm-2 control-label" style="margin:0 auto;">编号：</label>
                            <input class="form-control" type="text" id="edit_objectId" name="objectId" style="width:180px;margin:0 auto;"/><br/>
                            <label for="edit_objectName" class="col-sm-2 control-label" style="margin:0 auto;">名称：</label>
                            <input class="form-control" type="text" id="edit_objectName" name="objectName" style="width:180px;margin:0 auto;"/><br/>
                            <label for="edit_abilities" class="col-sm-2 control-label" style="margin:0 auto;">能力：</label>
                            <input class="form-control" type="text" id="edit_abilities" name="abilities" style="width:180px;margin:0 auto;"/><br/>
                            <label for="edit_objRelationship" class="col-sm-2 control-label" style="width:auto;margin:0 auto;">实体关系：</label>
                            <input class="form-control" type="text" id="edit_objRelationship" name="objRelationship" style="width:180px;margin:0 auto;"/><br/>
                            <label for="edit_chara" class="col-sm-2 control-label" style="margin:0 auto;">特点：</label>
                            <input class="form-control" type="text" id="edit_chara" name="chara" style="width:180px;margin:0 auto;"/><br/>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button id="edit_button" type="button" class="btn btn-primary">确定</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
    <div class="modal fade" id="searchDlg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="search">查找</h4>
                </div>
                <div class="modal-body">
                        <select class="form-control" id="search_select" style="width:auto;margin:0 auto;position:absolute">
                            <option value="objectId">编号</option>
                            <option value="objectName">名称</option>
                            <option value="abilities">能力</option>
                            <option value="objRelationship">实体关系</option>
                            <option value="chara">特点</option>
                        </select>
                    <form id="select">
                        <input class="form-control" style="width:auto;margin:0 auto" type="text" id="search_input" name="search_input"/>
                    </form>
                    <!--</div>-->
                </div>
                <div class="modal-footer">
                    <button id="search_button" type="button" class="btn btn-primary">确定</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <!-- Peity -->
    <script src="js/plugins/peity/jquery.peity.min.js"></script>
    <!-- jqGrid -->
    <script src="js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
    <script src="js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>
    <!--layer-->
    <script src="js/plugins/layer/layer.min.js"></script>
    <!--validate-->
    <script src="js/plugins/validate/jquery.validate.min.js"></script>
    <script src="js/plugins/validate/messages_zh.min.js"></script>
    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <script src="js/apps/common.js"></script>
    <script src="js/apps/object/object.js"></script>
    <script src="js/apps/object/add.js"></script>
    <script src="js/apps/object/edit.js"></script>
    <script src="js/apps/object/search.js"></script>
</body>

</html>
